package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.apache.ibatis.annotations.Delete;
import org.springframework.web.bind.annotation.DeleteMapping;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    //第一条新增
    String addFirst(String name, Integer age, String sex);

    //第二条新增
    String addSecond(MybatisReviewVO mybatisReviewVO);

    String update(MybatisReviewVO mybatisReviewVO);

    String deleteById(Integer id);

    MybatisReviewVO getById(Integer id);



    List<MybatisReviewVO> list();
}
